package zuwotest;

import java.util.List;

import org.junit.Test;

import cn.diancan.exception.OutMsgException;
import cn.diancan.vo.model.ProductVo;

public class ProductApiTest extends BaseTest{
    
    @Test
    public void f(){
	 ProductVo productVo = productService.findVoByBarcode("1091059F");
	 System.out.println(productVo);
    }
    
    @Test
    public void f2(){
		try {
			long d = System.currentTimeMillis();
			List<ProductVo > list = productService.findVoList(d, 1, 1000);
			System.out.println(list);
			System.out.println(System.currentTimeMillis()-d);
		} catch (OutMsgException e) {
			e.printStackTrace();
		} catch (Exception e) {
			e.printStackTrace();
		}
    }
    
    
    
}
